package com.niit.agricstore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.niit.agricstore.entity.Product;
import com.niit.agricstore.entity.Type;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TypeMapper extends BaseMapper<Type> {

    int addTypes(Type type);
    Type selectTypeById(Integer typeId);

}
